package common.packets;

/**
 * Causes user to disconnect from server
 * @author mickek
 *
 */
public class DisconnectPacket extends Packet {
	
	public static final String PREFIX = "disconnect";

	@Override
	public byte[] serialize() {
		return (PREFIX + Packet.DELIMITER + Packet.NEW_LINE).getBytes();
	}

	@Override
	public String toString() {
		return PREFIX;
	}

}
